package cn.darkhorse.ticket.production.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 计划产品明细
 * </p>
 *
 * @author maoguanjun
 * @since 2024-01-19
 */
@Getter
@Setter
  @TableName("ticket_production_plan_product_info")
@ApiModel(value = "TicketProductionPlanProductInfo对象", description = "计划产品明细")
public class TicketProductionPlanProductInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("计划Id")
      private Long planId;
      @ApiModelProperty("计划数量")
      private Integer planNum;

      @ApiModelProperty("产品Id")
      private Long productId;
      @ApiModelProperty("产品名称")
      private String productName;

      @ApiModelProperty("产品分类ID")
      private Long productTypeId;

      @ApiModelProperty("产品编码")
      private String productCode;

      @ApiModelProperty("产品材质")
      private String quality;

      @ApiModelProperty("产品型号")
      private String model;

      @ApiModelProperty("产品重量")
      private BigDecimal weight;

      @ApiModelProperty("计划交期")
      private LocalDateTime planedDeliveryDate;

      @ApiModelProperty("计划生产开始时间")
      private LocalDateTime planedStartTime;

      @ApiModelProperty("计划生产结束时间")
      private LocalDateTime planedEndTime;

      @ApiModelProperty("计划状态 0未生成1已生成2已关闭")
      private Integer status;

      @ApiModelProperty("关联单号")
      private String relatedTicketNum;

      @ApiModelProperty("系统创建时间")
      private LocalDateTime gmtCreate;

      @ApiModelProperty("系统更新时间")
      private LocalDateTime gmtModified;

      @ApiModelProperty("创建人")
      private Long creator;

      @ApiModelProperty("修改人")
      private Long modifier;

  @ApiModelProperty("是否自动生成 0否 1是")
  private Boolean isAutomatically;
}
